Update Merge Blitz.ps1 so not hardcoded to directory path#3595
Closed
DanielLoth wants to merge 1 commit intoBrentOzarULTD:devfrom
Closed
Update Merge Blitz.ps1 so not hardcoded to directory path#3595DanielLoth wants to merge 1 commit intoBrentOzarULTD:devfrom
DanielLoth wants to merge 1 commit intoBrentOzarULTD:devfrom
Conversation
This change updates the script such that it'll run on other peoples' machines, even when they don't have a folder path that is specific to Brent's developer machine.
Member
|
Hi, can you tell me a little about the use case for this? |
Author
|
Hi. Same use case as before - combines the various scripts. But now the correct operation of the script isn't dependent on the repository being checked out to the very specific |
Member
|
Right, but why do YOU need to build the installation scripts for the distribution of the First Responder Kit? You sound like a nice guy, I’m sure, but I’m not looking for you to take over maintenance of the repo. ;-) ---Tiny glass keyboardTypos flowing like riversAs winter snow thawsOn Dec 7, 2024, at 6:54 PM, Daniel Loth ***@***.***> wrote:
Hi. Same use case as before - combines the various scripts. But now the correct operation of the script isn't dependent on the repository being checked out to the very specific /Users/brentozar/LocalOnly/Github/SQL-Server-First-Responder-Kit directory path.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Author
|
Oh, I don't. I was just looking through the repo while doing your course on using it, tried to run the script, and found it didn't work. |
Member
|
OK, gotcha. Let's hold off on changing code without a use case for now, and if you'd like to contribute further, make sure to check out the contribution instructions in the repo. Thanks though! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This change updates the script such that it'll run on other peoples' machines, even when they don't have a folder path that is specific to Brent's developer machine.
Testing notes
Running
Merge Blitz.ps1from the repository root directoryCommand:
Demo:
Running
Merge Blitz.ps1from the same directoryCommand:
Demo: